package com.gzucm.Scholarship.exception;

import com.gzucm.Scholarship.exception.base.DefaultException;

public class SwitchNotFoundException extends DefaultException {

    private Class clazz;

    public <T> SwitchNotFoundException(Class<T> clazz) {
        this(clazz, clazz.getName());
    }

    public <T> SwitchNotFoundException(Class<T> clazz, String msg) {
        super(msg);
        this.clazz = clazz;
    }

    public String getClassName() {
        return clazz.getName();
    }

    public Class getClazz() {
        return clazz;
    }
}
